package com.campus.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 公告类型表;  根据类型：是否显示内容；
 * </p>
 *
 * @author Rin
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "annunciate_type")
@ApiModel(value="AnnunciateType对象", description="公告类型表")
public class AnnunciateType implements Serializable {
    @TableField(exist = false)
    public static Map<Integer, AnnunciateType> annunciateTypeMap=new HashMap<>();
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "类型名称；")
    private String name;

}
